package rensoft.portfolio.client.model.titles.titles;

import cs.java.lang.HasService;

import rensoft.portfolio.client.model.titles.Page;
import rensoft.portfolio.client.model.titles.TitleImpl;
import rensoft.portfolio.client.model.titles.Titles.TitleState;

public class Works extends TitleImpl {

  public Works(HasService parent) {
    super(parent, TitleState.products);
    Page papmobile =
        new Page(this, "papmobile", worksData.papAndroidImage(), worksData.papAndroidBigImage(),
            worksData.papAndroidText());
    papmobile.setHeight(HEIGHT + 70);
    add(papmobile);
    Page baoreader =
        new Page(this, "baoreader", worksData.workBaoReaderImage(), worksData
            .workBaoReaderBigImage(), worksData.workBaoReaderText());
    baoreader.setHeight(HEIGHT - 60);
    add(baoreader);
    Page papallert =
        new Page(this, "papallert", worksData.workPapAllertImage(), worksData
            .workPapAllertBigImage(), worksData.workPapAllertText());
    papallert.setHeight(HEIGHT - 50);
    add(papallert);
    Page screendesigner =
        new Page(this, "screendesigner", worksData.workScreenDesignerImage(), worksData
            .workScreenDesignerBigImage(), worksData.workScreenDesignerText());
    screendesigner.setHeight(HEIGHT - 30);
    add(screendesigner);
  }

}
